package com.zhuangjie.order.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 商店拒绝订单DTO
 *
 * @author zhuangjie
 * @date 2023/12/09
 */
@Data
public class ShopRejectOrderDTO {
    /**
     * 要拒单的订单id
     */
    @NotNull(message = "订单id不能为空")
    private Long orderId;
    /**
     * 原因
     */
    @NotBlank(message = "拒绝用户订单必须要有原因")
    private String reason;
}
